using Microsoft.AspNetCore.Mvc;

namespace netwebapp.Controllers;

[ApiController]
[Route("[controller]")]
public class Test2Controller : ControllerBase
{

    private readonly ILogger<Test2Controller> _logger;

    public Test2Controller(ILogger<Test2Controller> logger)
    {
        _logger = logger;
    }

    [HttpGet(Name = "GetTest2")]
    public String Get()
    {
        return "Hello 2023!";
    }
}
